x11/surface: Compute toplevel size outside of frame dispatch
authorJonas Ådahl <jadahl@gmail.com>
Fri, 4 Dec 2020 14:40:53 +0000 (15:40 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 19:37:29 +0000 (20:37 +0100)
commitdfb7ab3352109f3a3313c0f6b20754b3d9eab2ea
treede515422e4f93bd7c31ea487e0872d942b5c4e58
parent8e3ee58e3fcee161d6d1c52f7370800fd48d2bff
x11/surface: Compute toplevel size outside of frame dispatch

We can't compute and resize a toplevel size during dispatch, as resizing
on X11 is an asynhronous operation, requiring a configuration event.
gdk/x11/gdksurface-x11.c
gdk/x11/gdksurface-x11.h